package com.ntschy.bt.entity.mapstruct;


import com.ntschy.bt.entity.dataobject.BtHelp.BtHelp;
import com.ntschy.bt.entity.dto.BtHelpDTO.AssignDTO.BtHelpAssignAllocationDTO;
import com.ntschy.bt.entity.dto.BtHelpDTO.AssignDTO.BtHelpAssignPageDTO;
import com.ntschy.bt.entity.vo.BtHelp.Assign.BtHelpAssignDetailsVO;
import com.ntschy.bt.entity.vo.BtHelp.Assign.BtHelpAssignPageVo;
import org.mapstruct.*;
import org.mapstruct.factory.Mappers;

/**
 * @author cm
 */
@Mapper
public interface BtHelpMapstruct {

    BtHelpMapstruct BT_HELP_ASSIGN_MAP_STRUCT = Mappers.getMapper(BtHelpMapstruct.class);

    /**
     * 分页查询类转换
     *
     * @param pageDTO 分页查询条件
     * @return BtHelp
     */
    BtHelp pagetableDto(BtHelpAssignPageDTO pageDTO);

    /**
     * 响应分页的数据类型
     *
     * @param btHelp
     * @return
     */
    BtHelpAssignPageVo pagePustrespone(BtHelp btHelp);

    /**
     * 响应分配部门详情的数据类型
     *
     * @param btHelp
     * @return
     */
    BtHelpAssignDetailsVO mainchangeBtHelpAssignDetailsVO(BtHelp btHelp);


    /**
     * 分配部门类型装主类
     *
     * @param btHelpAssignAllocationDTO
     * @return
     */
    BtHelp minBtHelpAssignAllocationDTO(BtHelpAssignAllocationDTO btHelpAssignAllocationDTO);



}
